<%@page import="org.upt.dcda.presentation.SessionAttributes"%>
<%@page import="org.upt.dcda.db.UserEntity"%>
<%@ taglib prefix="stripes"
	uri="http://stripes.sourceforge.net/stripes.tld"%>
<%
if (!SessionAttributes.isAdmin(request)) 
{
	response.sendRedirect("index.jsp");
} else {
%>
<stripes:layout-render name="layout/default.jsp"
	pageTitle="Using A Layout">

	<stripes:layout-component name="pageTitle">
	Add new tag
 	</stripes:layout-component>

	<stripes:layout-component name="html_head">

	</stripes:layout-component>

	<stripes:layout-component name="contents">

		<form action="addnewtag" method="post">
			Name: <input type="text" name="tagName"><br> <input
				type=submit value="Add">
		</form>

	</stripes:layout-component>

</stripes:layout-render>
<%
}
%>